<?php

class indexClass{
    
    public $id;
    public $document;
    public $robertson;
    public $poids;
    
    function __construct($idind,Document $document,$poids){
        $this->id=$idind;
        $this->document=$document;
        $this->poids=$poids;
        $this->robertson=0;
    }

    public function getPoids() {
        return $this->poids;
    }

    public function setPoids($poids) {
        $this->poids = $poids;
        return $this;
    }

    
    public function getId() {
        return $this->id;
    }

    /**
     *
     * @return Document
     */
    public function getDocument() {
        return $this->document;
    }

    public function getRobertson() {
        return $this->robertson;
    }

    public function setId($id) {
        $this->id = $id;
        return $this;
    }

    public function setDocument($document) {
        $this->document = $document;
        return $this;
    }

    public function setRobertson($robertson) {
        $this->robertson = $robertson;
        return $this;
    }

}

